package designpattern;

/**
 * TODO:类描述
 *
 * @className: Singletom
 * @packageName: designpattern
 * @author: Zhuhj
 * @version: V1.0
 * @date: 2021/4/18 15:41
 */
public class Singleton {
    private static final Singleton singleton = new Singleton();
    private Singleton(){

    }
    public static Singleton getInstance(){
        return singleton;
    }

}
